package com.traveling.hztraveling.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LHD
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hz_culture")
public class HzCulture implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预定文化活动订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private  Integer userId;

    /**
     * 活动名称
     */
    private String activity;

    /**
     * 预约日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;

    /**
     * 预约备注
     */
    private String message;

    /**
     * 预约状态：pending-待确认 certain-已确认  refund-退订 expire-过期
     */
    private String status;

    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime createTime;


    private String username;

    private String phone;

     private String email;

}
